<?php
class Action {
    public function __construct()
    {
        $this->initAction();

    }
    
    function initAction() {
     
    }
    
    function initUserAction() {
    
    }
    
    function canAction($userId, $groupId) {
        if ($userId == '' && $groupId == '') {
            exit('没有权限');
        }
    }
}
